﻿namespace Hotel.Managment.Common.Persistence
{
    using Model;

    public interface IRepository<T> where T : ModelEntity
    {

        /// <summary>
        /// Gets the specified a single object by id.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <returns></returns>
        T Get(int id);
    }
}